package com.learn.hibernatevalidator.chapter12.failfastonpropertyviolation;

import jakarta.validation.constraints.NotNull;

public class Person {

    @NotNull
    private String firstName;

    @NotNull
    private String lastName;

    public Person(@NotNull final String firstName, @NotNull final String lastName) {
        this.firstName = firstName;
        this.lastName = lastName;
    }
}
